package com.yimi.policyservice.dto.product;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class PolicySuppRuleDto {
    private String id;

    private String policyAddrId;
    private String companyId ;

    private String typeCode;

    private String typeName;

    private String allowSuppTypeCode;

    private Integer allowMonths;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date allowYearMonth;

    private String suppBaseRuleCode;

    private BigDecimal baseMinAmt;

    private BigDecimal baseMaxAmt;

    private Boolean deleted;

    private String createId;

    private String createUserName ;

    private String companyName;

    private String addrName ;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    private String updateId;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPolicyAddrId() {
        return policyAddrId;
    }

    public void setPolicyAddrId(String policyAddrId) {
        this.policyAddrId = policyAddrId;
    }

    public String getTypeCode() {
        return typeCode;
    }

    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getAllowSuppTypeCode() {
        return allowSuppTypeCode;
    }

    public void setAllowSuppTypeCode(String allowSuppTypeCode) {
        this.allowSuppTypeCode = allowSuppTypeCode;
    }

    public Integer getAllowMonths() {
        return allowMonths;
    }

    public void setAllowMonths(Integer allowMonths) {
        this.allowMonths = allowMonths;
    }

    public Date getAllowYearMonth() {
        return allowYearMonth;
    }

    public void setAllowYearMonth(Date allowYearMonth) {
        this.allowYearMonth = allowYearMonth;
    }

    public String getSuppBaseRuleCode() {
        return suppBaseRuleCode;
    }

    public void setSuppBaseRuleCode(String suppBaseRuleCode) {
        this.suppBaseRuleCode = suppBaseRuleCode;
    }

    public BigDecimal getBaseMinAmt() {
        return baseMinAmt;
    }

    public void setBaseMinAmt(BigDecimal baseMinAmt) {
        this.baseMinAmt = baseMinAmt;
    }

    public BigDecimal getBaseMaxAmt() {
        return baseMaxAmt;
    }

    public void setBaseMaxAmt(BigDecimal baseMaxAmt) {
        this.baseMaxAmt = baseMaxAmt;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getAddrName() {
        return addrName;
    }

    public void setAddrName(String addrName) {
        this.addrName = addrName;
    }
}
